@solid-aria/toggle

Primitives for building toggle components like checkboxes and switches.
Installation
npm install @solid-aria/toggle
yarn add @solid-aria/toggle
pnpm add @solid-aria/toggle
createToggleState
Provides state management for toggle components like checkboxes and switches.
How to use it
See the docs of createCheckbox for an example of createToggleState
.
createToggle
Handles interactions for toggle elements, e.g. Checkboxes and Switches.
How to use it
See the docs of createCheckbox for an example of createToggle
.
Changelog
All notable changes are described in the CHANGELOG.md file.